package cn.studyjams.s1.contest.autohello.model;

import com.google.firebase.database.IgnoreExtraProperties;

import java.io.Serializable;

/**
 * Created by liuyang
 * on 2016/7/1.
 */
@IgnoreExtraProperties
public class User implements Serializable {

    private String uid;
    //昵称
    private String username;
    //手机号
    private String phoneNumber;
    //邮箱
    private String email;
    //头像
    private String photo;
    //用户类型(google, facebook, email)
    private String type;

    public User() {
    }

    public User(String uid, String username, String phoneNumber, String email, String photo, String type) {
        this.uid = uid;
        this.username = username;
        this.phoneNumber = phoneNumber;
        this.email = email;
        this.photo = photo;
        this.type = type;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
